From ec8f5e583c1f8db7141c279663da34714e1caf77 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 12 May 2005 10:31:31 +0000 Subject: [PATCH] bitkeeper revision 1.1389.19.4 (42833083E4kFA8A5tBgDNgF_X2CkBA) Fix the x86/64 build. Patch based on one from Andrei Petrov. Signed-off-by: Keir Fraser --- xen/arch/x86/acpi/boot.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/xen/arch/x86/acpi/boot.c b/xen/arch/x86/acpi/boot.c index c8525bce64..99fc21b018 100644 --- a/xen/arch/x86/acpi/boot.c +++ b/xen/arch/x86/acpi/boot.c @@ -36,26 +36,13 @@ #include #include #include +#include +#include int sbf_port; #define end_pfn_map max_page #define CONFIG_ACPI_PCI -#ifdef CONFIG_X86_64 - -static inline void acpi_madt_oem_check(char *oem_id, char *oem_table_id) { } -extern void __init clustered_apic_check(void); -static inline int ioapic_setup_disabled(void) { return 0; } - -#else /* X86 */ - -#ifdef CONFIG_X86_LOCAL_APIC -#include -#include -#endif /* CONFIG_X86_LOCAL_APIC */ - -#endif /* X86 */ - #define BAD_MADT_ENTRY(entry, end) ( \ (!entry) || (unsigned long)entry + sizeof(*entry) > end || \ ((acpi_table_entry_header *)entry)->length != sizeof(*entry)) -- 2.30.2